home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.lang.c
- Subject: Re: string search?
- Date: 28 Mar 1996 10:16:07 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4jdot7$eb0@sparcserver.lrz-muenchen.de>
- References: <4jc6ae$eol@voyager.eng.gulfaero.com>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- swofford@voyager.eng.gulfaero.com (Van Swofford) writes:
- >Ricardo Mor <rmor1@ix.netcom.com> wrote:
- >> How can I search for a string of characters within another string?
-
- >The Microsoft C documentation indicates that strstr is ANSI compliant,
- >but not available under UNIX.
-
- Well, if it is a function from the _standard_ C library, and if it is
- not available under UNIX, then obviously all UNIX implementations are
- non-ANSI implementations. This might be wrong, afaik :-)
-
- Using functions from the standard C library is a good idea, even on
- UNIX systems. If the function is not available on your system, talk
- to your vendor. The GNU project is developing a C library, too, so
- if your organization cannot afford to _buy_ a "real" C implementation,
- this might be the next possible step to take.
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
- | ua302aa@sunmail.lrz-muenchen.de
-